//
//  JCLDemoViewController.swift
//  WeiBo
//
//  Created by DDC on 2017/9/7.
//  Copyright © 2017年 DDC. All rights reserved.
//

import UIKit

class JCLDemoViewController: JCLBaseViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        setUpTableView()
        
        
    }

    func nextPush()  {
        
        let vc = JCLDemoViewController()
        navigationController?.pushViewController(vc, animated: true)
    }
}


extension JCLDemoViewController{
    
    override func setUpTableView() {
        
        super.setUpTableView()
        
        
        
        navItem.rightBarButtonItem = UIBarButtonItem(title: "下一个", fontSize: 16, taret: self, action: #selector(nextPush))
        
        
    }
}
